﻿{include file="header.tpl"}

<div class="vertical-divider" style="width: 10px">&nbsp;</div>
<div class="content-column" style="width: 940px">
	<h1>{$pagetitle}</h1>
</div>
<div class="vertical-divider" style="width: 10px">&nbsp;</div>

<div class="horizontal-divider" style="height: 10px">&nbsp;</div>

<div class="vertical-divider clear" style="width: 10px">&nbsp;</div>
<div class="content-column" style="width: 940px">
	<div class="blogentry-description">
		{$description}
	</div>
	<div class="blogentry-share" style="margin-top: 10px">
		{$sharelinks}
	</div>
</div>
<div class="vertical-divider" style="width: 10px">&nbsp;</div>

<div class="horizontal-divider" style="height: 20px">&nbsp;</div>

<div class="vertical-divider clear" style="width: 10px">&nbsp;</div>
<div class="content-column" style="width: 570px">

	<div class="subblock-outer" style="width: 568px">
		<div class="subblock-inner" style="width: 550px">
			<h4>{$commentslabel} ({$numcomments})</h4>
			{if count($comments) gt 0}
				{foreach $comments as $comment}
					<div style="width: 530px; padding: 10px 10px 8px; float: left">
						{if strlen($comment.picturename) gt 0}
							<a id="commentPicture" href="{$comment.pictureurl}"><img class="blogcomment-picture" src="{$comment.picturethumb}" alt="{$comment.picturename}" /></a>
						{/if}
						<p class="blogcomment-author">{$comment.author}</p>
						<p class="blogcomment-created">{$comment.created}</p>
						<p class="blogcomment-content">{$comment.content}</p>
					</div>
					<p class="blogcomment-separator">&nbsp;</p>
				{/foreach}
			{else}
				<p>{$nocomments}</p>
			{/if}
		</div>
	</div>

</div>
<div class="vertical-divider" style="width: 20px">&nbsp;</div>
<div class="content-column" style="width: 350px">

	<div class="subblock-outer" style="width: 348px">
		<div class="subblock-inner" style="width: 330px">
			<h4>{$sendyourcommentlabel}</h4>
			<form name="newCommentForm" id="newCommentForm" action="{$formaction}" method="post" enctype="multipart/form-data">
			<input type="hidden" name="entryId" id="entryId" value="{$entryid}" />
			<p>{$namelabel}:</p><input type="text" name="name" id="name" maxlength="40" class="textfield" /><br />
			<p>{$commentlabel}:</p><textarea name="comment" id="comment"></textarea><br />
			<p>{$captchalabel}:</p>
			<div class="captcha">
				<img src="{$captchaurl}" id="captchaImage" />
				{$captchatext}<br />
				<input type="text" name="captcha" id="captcha" maxlength="20" class="textfield3" /> &nbsp;<a href="javascript:regenerateCaptcha();">{$regeneratecaptcha}</a>
			</div>
			<input type="submit" name="newCommentSubmit" id="newCommentSubmit" value="{$sendlabel}" class="submitbutton" />
			</form>
		</div>
	</div>

</div>
<div class="vertical-divider" style="width: 10px">&nbsp;</div>

{include file="footer.tpl"}
